This forum is closed to new posts and
responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:
~Kirk Dwowepuloni 24.Dec.03 03:28 AM a Web browser Domino Designer6.0.2 CF2Windows 2000
When using FindString against rich text, it seems to take an initial pass at the text just fine, but will not execute and find a different FindString "behind" the last occurence. Is there any way to reset the "cursor" or navigator to the beginning of the rich text for each pass (or search) for text? I've tried, SetCharOffset, SetPosition, Reset and many other less intuitive ideas. I am no expert!!!Following is my attempt at searching for text in a field (body), and then via UI, replacing with an arrayed variable...
If rtnav.FindFirstString("<Customer>") Then
Do
Call uidoc.FindString("<Customer>")
Call uidoc.Cut
Call uidoc.InsertText(Customer)
Loop While rtnav.FindNextString("<Customer>")
Else
End If
If rtnav.FindFirstString("<OppID>") Then
Do
Call uidoc.FindString("<OppID>")
Call uidoc.Cut
Call uidoc.InsertText(OppID)
Loop While rtnav.FindNextString("<OppID>")
Else
End If